﻿using QMERP.Domain.Enums;

namespace QMERP.Application.Services
{
    public interface ISerialNumberService
    {
        /// <summary>
        /// 获取对应的SerialNumber并更新
        /// </summary>
        /// <returns></returns>
        Task<string> GetSerialNumber(SerialNumberTypeEnum serialNumberType);

        /// <summary>
        /// 获取对应的SerialNumber并更新
        /// </summary>
        /// <returns></returns>
        Task<string> GetSerialNumber(string serialNumberType);
    }
}
